package com.kingyea.mobilepolice.apimanage.serverapimonitor.bean;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Mr.Lin
 * @version v1.0.0
 * @description ServerApiMonitor 实体类
 * 监控每个接口上传和下载的数据字节数
 * @date Created in 2018-05-19 14:08:20
 */
public class ServerApiMonitor implements Serializable {

    private Integer id;
    /**
     * 设备上报出这条数据的EPOCH时间戳
     */
    private Date epochTime;
    /**
     * 源IP
     */
    private String srcIp;
    /**
     * 源端口
     */
    private Integer srcPort;
    /**
     * 目的IP
     */
    private String dstIp;
    /**
     * 目的端口
     */
    private Integer dstPort;
    /**
     * 设备唯一表示(暂定为mac，待讨论)
     */
    private String deviceId;
    /**
     * 设备签名
     */
    private String deviceToken;
    /**
     * 目标应用系统名称
     */
    private String appNames;
    /**
     * 检测开始时间
     */
    private Date startTime;
    /**
     * 检测结束时间
     */
    private Date endTime;
    /**
     * 传输层协议
     */
    private Integer transferProtocol;
    /**
     * 上传的数据包总数
     */
    private Integer uploadPkg;
    /**
     * 上传的数据包字节数
     */
    private Integer uploadBytes;
    /**
     * 下载的数据包总数
     */
    private Integer downloadPkg;
    /**
     * 下载的数据包字节数
     */
    private Integer downloadBytes;
    /**
     * 应用层协议
     */
    private Integer appProtocal;
    /**
     * 应用层pay_load
     */
    private Integer payLoad;
    /**
     * 请求者标识
     */
    private String requesterSerialNo;
    /**
     * 请求方名称
     */
    private String requesterName;
    /**
     * 服务提供商标识
     */
    private String providerSerialNo;
    /**
     * 服务提供商名字
     */
    private String providerName;
    /**
     * 对外发布地址
     */
    private String servicePublicPath;
    /**
     * 接口标识
     */
    private String serviceSerialNo;

    public String getRequesterSerialNo() {
        return requesterSerialNo;
    }

    public void setRequesterSerialNo(String requesterSerialNo) {
        this.requesterSerialNo = requesterSerialNo;
    }

    public String getRequesterName() {
        return requesterName;
    }

    public void setRequesterName(String requesterName) {
        this.requesterName = requesterName;
    }

    public String getProviderSerialNo() {
        return providerSerialNo;
    }

    public void setProviderSerialNo(String providerSerialNo) {
        this.providerSerialNo = providerSerialNo;
    }

    public String getProviderName() {
        return providerName;
    }

    public void setProviderName(String providerName) {
        this.providerName = providerName;
    }

    public String getServicePublicPath() {
        return servicePublicPath;
    }

    public void setServicePublicPath(String servicePublicPath) {
        this.servicePublicPath = servicePublicPath;
    }

    public String getServiceSerialNo() {
        return serviceSerialNo;
    }

    public void setServiceSerialNo(String serviceSerialNo) {
        this.serviceSerialNo = serviceSerialNo;
    }

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getEpochTime() {
        return this.epochTime;
    }

    public void setEpochTime(Date epochTime) {
        this.epochTime = epochTime;
    }

    public String getSrcIp() {
        return this.srcIp;
    }

    public void setSrcIp(String srcIp) {
        this.srcIp = srcIp;
    }

    public Integer getSrcPort() {
        return this.srcPort;
    }

    public void setSrcPort(Integer srcPort) {
        this.srcPort = srcPort;
    }

    public String getDstIp() {
        return this.dstIp;
    }

    public void setDstIp(String dstIp) {
        this.dstIp = dstIp;
    }

    public Integer getDstPort() {
        return this.dstPort;
    }

    public void setDstPort(Integer dstPort) {
        this.dstPort = dstPort;
    }

    public String getDeviceId() {
        return this.deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getDeviceToken() {
        return this.deviceToken;
    }

    public void setDeviceToken(String deviceToken) {
        this.deviceToken = deviceToken;
    }

    public String getAppNames() {
        return this.appNames;
    }

    public void setAppNames(String appNames) {
        this.appNames = appNames;
    }

    public Date getStartTime() {
        return this.startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return this.endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getTransferProtocol() {
        return this.transferProtocol;
    }

    public void setTransferProtocol(Integer transferProtocol) {
        this.transferProtocol = transferProtocol;
    }

    public Integer getUploadPkg() {
        return this.uploadPkg;
    }

    public void setUploadPkg(Integer uploadPkg) {
        this.uploadPkg = uploadPkg;
    }

    public Integer getUploadBytes() {
        return this.uploadBytes;
    }

    public void setUploadBytes(Integer uploadBytes) {
        this.uploadBytes = uploadBytes;
    }

    public Integer getDownloadPkg() {
        return this.downloadPkg;
    }

    public void setDownloadPkg(Integer downloadPkg) {
        this.downloadPkg = downloadPkg;
    }

    public Integer getDownloadBytes() {
        return this.downloadBytes;
    }

    public void setDownloadBytes(Integer downloadBytes) {
        this.downloadBytes = downloadBytes;
    }

    public Integer getAppProtocal() {
        return this.appProtocal;
    }

    public void setAppProtocal(Integer appProtocal) {
        this.appProtocal = appProtocal;
    }

    public Integer getPayLoad() {
        return this.payLoad;
    }

    public void setPayLoad(Integer payLoad) {
        this.payLoad = payLoad;
    }


}
